// 定义登录接口

import instance from "@/utils/request";

// 登录接口
import type { loginParams } from '@/types/logintype'
export function loginApi(data: loginParams) {
    return instance({
        url: '/admin/admin/login',
        method: 'post',
        data
    })
}
